package com.bootdo.crm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.crm.dao.BusinessProductDao;
import com.bootdo.crm.domain.BusinessProductDO;
import com.bootdo.crm.service.BusinessProductService;



@Service
public class BusinessProductServiceImpl implements BusinessProductService {
	@Autowired
	private BusinessProductDao businessProductDao;
	
	@Override
	public BusinessProductDO get(Integer rId){
		return businessProductDao.get(rId);
	}
	
	@Override
	public List<BusinessProductDO> list(Map<String, Object> map){
		return businessProductDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return businessProductDao.count(map);
	}
	
	@Override
	public int save(BusinessProductDO businessProduct){
		return businessProductDao.save(businessProduct);
	}
	
	@Override
	public int update(BusinessProductDO businessProduct){
		return businessProductDao.update(businessProduct);
	}
	
	@Override
	public int remove(Integer rId){
		return businessProductDao.remove(rId);
	}
	
	@Override
	public int batchRemove(Integer[] rIds){
		return businessProductDao.batchRemove(rIds);
	}
	
}
